Skip to content

Comments

fix: requirements check package detection and MariaDB version parsing#16

Merged
konradmichalik merged 2 commits intomainfrom
fix/requirements-check-detection
Feb 18, 2026
Merged

fix: requirements check package detection and MariaDB version parsing#16
konradmichalik merged 2 commits intomainfrom
fix/requirements-check-detection

Conversation

@konradmichalik
Copy link
Contributor

Summary

  • Fix package detection using command -v with suppressed stdout instead of which
  • Add support for MariaDB 11.x version output format

Changes

  • deployer/requirements/task/check_packages.php - Replace which with command -v >/dev/null 2>&1 to work with Deployer's test() function, which compares full stdout output
  • deployer/requirements/task/check_database.php - Add regex pattern for MariaDB 11.x format (11.8.3-MariaDB instead of Distrib 10.x.y)

@konradmichalik konradmichalik merged commit 05271e2 into main Feb 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant